﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.XtraGrid.Views.Grid;
using ActionServices;

namespace SchoolManagementSystem.Controls
{
    class SetGridColumnInVisible
    {
        public static void SetColumnInvisible(GridView gridView1, object _Model)
        {
            if (_Model.GetType() == typeof(BranchActionService))
            {
                gridView1.Columns["SelectRowExt"].Visible = false;
            }
      }
    }
}
